package org.dxy.api.dto.request.material;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
/**
 * 更新物料计量单位请求DTO
 * @author dxy
 * @createTime 2025/9/7
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UpdateMaterialUnitRequest {
    
    /** 计量单位 */
    @NotBlank(message = "计量单位不能为空")
    private String unit;
}